﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Telerik.JustMock;
using DelonixRegiaHMSys.Core.Services;
using DelonixRegiaHMSys.Core.Interfaces;
using DelonixRegiaHMSys.Core.Models;

namespace DelonixRegiaHMSys.UnitTest.CheckInManagement
{
    [TestClass]
    public class DeleteCheckInRecord
    {
        [TestMethod]
        public void DeleteCheckIn()
        {
            var mockCheckInQuery = Mock.Create<ICheckInQuery>();

            var ciservice = new ciServices(mockCheckInQuery);

            ciservice.DeleteCheckIn("");

            Mock.Assert(() => mockCheckInQuery.DeleteCheckIn(Arg.IsAny<string>()));
        }
    }
}
